import request from "@/common/axios";
// 局部铺码
export function localSpreadCode({
  urlpath,
  writecode,
  readcode,
  codepointmode,
  pagesinfo,
  codepointtype,
  imagesize,
  imagedpi,
  pdftype,
}) {
  return request.post('/codepoint/httpareafile', {
    urlpath,
    writecode,
    readcode,
    pagesinfo,
    codepointmode,
    codepointinfo: {
      codepointtype,
      imagesize,
      imagedpi,
      pdftype
    }
  })
}